package com.yunhe.common.model.data;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

public class BatteryInfo {

    private String batteryNumber;
    private Long batteryCode;
    private Double voltage;
    private Double temperature;
    private Double resistance;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long voltagePointNumber;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long temperaturePointNumber;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long resistancePointNumber;

    public Long getResistancePointNumber() {
        return resistancePointNumber;
    }

    public void setResistancePointNumber(Long resistancePointNumber) {
        this.resistancePointNumber = resistancePointNumber;
    }

    public Double getResistance() {
        return resistance;
    }

    public void setResistance(Double resistance) {
        this.resistance = resistance;
    }

    public String getBatteryNumber() {
        return batteryNumber;
    }

    public void setBatteryNumber(String batteryNumber) {
        this.batteryNumber = batteryNumber;
    }

    public Long getBatteryCode() {
        return batteryCode;
    }

    public void setBatteryCode(Long batteryCode) {
        this.batteryCode = batteryCode;
    }

    public Double getVoltage() {
        return voltage;
    }

    public void setVoltage(Double voltage) {
        this.voltage = voltage;
    }

    public Double getTemperature() {
        return temperature;
    }

    public void setTemperature(Double temperature) {
        this.temperature = temperature;
    }

    public Long getVoltagePointNumber() {
        return voltagePointNumber;
    }

    public void setVoltagePointNumber(Long voltagePointNumber) {
        this.voltagePointNumber = voltagePointNumber;
    }

    public Long getTemperaturePointNumber() {
        return temperaturePointNumber;
    }

    public void setTemperaturePointNumber(Long temperaturePointNumber) {
        this.temperaturePointNumber = temperaturePointNumber;
    }
}
